﻿function CategoryVm(id, name) {
    this.id = ko.observable(id);
    this.name = ko.observable(name);
    this.url = ko.computed(function () {
        return appPath + this.id();
    }, this);
}